-
Couldn't load subscription status.
- Fork 13.9k
Fix crate filter search reset #86548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix crate filter search reset #86548
Conversation
|
Some changes occurred in HTML/CSS/JS. |
|
@bors r+ |
|
📌 Commit f86db43554b0864f19205a555a785efa579fd1f2 has been approved by |
Rollup of 6 pull requests Successful merges: - rust-lang#86223 (Specify the kind of the item for E0121) - rust-lang#86521 (Add comments around code where ordering is important due for panic-safety) - rust-lang#86523 (Improvements to intra-doc link macro disambiguators) - rust-lang#86542 (Line numbers aligned with content) - rust-lang#86549 (Add destructuring example of E0508) - rust-lang#86557 (Update books) Failed merges: - rust-lang#86548 (Fix crate filter search reset) r? `@ghost` `@rustbot` modify labels: rollup
|
☔ The latest upstream changes (presumably #86559) made this pull request unmergeable. Please resolve the merge conflicts. |
f86db43 to
c4023c6
Compare
|
@bors: r=jsha |
|
📌 Commit c4023c6 has been approved by |
|
☀️ Test successful - checks-actions |
I found a fun bug when using rustdoc recently: I made a search, cut the search input content, changed the crate filter, pasted back the input content. To my surprise, the crate filter wasn't applied. It's because that our search input was empty when receiving the
<select>"onchange" event. To fix this issue, I reset thecurrentResultsvariable tonull.It's using the first commit from #86542 so it needs to wait for it before getting merged.
r? @jsha